<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../tpl/head.jsp"%>
<link rel="stylesheet" href="statics/css/WarehouseManagement/searchfirst.css">
<link rel="stylesheet" href="statics/css/secondarytitle.css">
<style>
    dl.layui-nav-child.layui-anim.layui-anim-upbit.layui-show {
        z-index: 999;
    }
    .layui-nav-child dd a input{margin-right: 5px}
</style>
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-header layui-bg-cyan">
            <span>库存</span>
        </div>
        <div class="layui-card-body">
            <div class="layui-row">
                <div class="layui-col-md12">
                    <ul class="layui-nav layui-bg-cyan" id="librarysavenav" lay-filter="librarysavenav">
                        <li class="layui-nav-item">
                            <a href="javascript:;">设置</a>
                            <dl class="layui-nav-child layui-form">
                                <dd><a href="javascript:void(0)"><input type="checkbox" value="0" lay-filter="zeroStockCol" title="显示零库存" lay-skin="primary"></a></dd>
                                <dd><a href="javascript:void(0)"><input type="checkbox" value="0" lay-filter="hideStopUseStockCol" title="隐藏停用仓库" lay-skin="primary"></a></dd>
                            </dl>
                        </li>
                        <li class="layui-nav-item"><a href="javascript:void(0)">库存账龄</a></li>

                        <li class="layui-nav-item"><a href="javascript:void(0)">产品查询</a></li>

                        <li class="layui-nav-item"><a href="javascript:void(0)">海外仓库租金费设置</a></li>
                    </ul>
                    <div class="layui-tab layui-tab-card">
                        <form class="layui-form layui-from-pane" action="" id="editor-form" lay-filter="editor-form">
                            <div class="layui-inline">
                                <label class="layui-form-label">合同类型</label>
                                <div class="layui-input-inline">
                                    <select name="contractType" id="contractType">
                                        <option value=""></option>
                                        <option value="1">内销</option>
                                        <option value="2">外销</option>
                                        <option value="3">待定</option>
                                    </select>
                                </div>
                            </div>
                            <input type="hidden" name="zeroStock" value="0" id="zeroStock">
                            <input type="hidden" name="hideStopUseStock" value="0" id="hideStopUseStock">
                            <div class="layui-inline">
                                <label class="layui-form-label">合同号</label>
                                <div class="layui-input-inline">
                                    <input class="text layui-input" type="text"  name="contractNo" autocomplete="off" placeholder="">
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">业务员</label>
                                <div class="layui-input-inline">
                                    <select name="salesmanCode" id="salesmanCode" lay-search>
                                        <option value=""></option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">仓库名称</label>
                                <div class="layui-input-inline" style="width: 200px">
                                    <div id="warehouseCode" class="xm-select-demo"></div>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">产品编码</label>
                                <div class="layui-input-inline">
                                    <input class="text layui-input" type="text"  name="productCode" autocomplete="off" placeholder="">
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">规格编码</label>
                                <div class="layui-input-inline">
                                    <input class="text layui-input" type="text"  name="specificationCode" autocomplete="off" placeholder="">
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">中文名称</label>
                                <div class="layui-input-inline">
                                    <input class="text layui-input" type="text"  name="productCName" autocomplete="off" placeholder="">
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">英文名称</label>
                                <div class="layui-input-inline">
                                    <input class="text layui-input" type="text"  name="productEName" autocomplete="off" placeholder="">
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">批次</label>
                                <div class="layui-input-inline">
                                    <input class="text layui-input" type="text"  name="lotNo" autocomplete="off" placeholder="">
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">入库单号</label>
                                <div class="layui-input-inline">
                                    <input class="text layui-input" type="text"  name="inStoreBillNo" autocomplete="off" placeholder="">
                                </div>
                            </div>
                            <div class="layui-inline daterange" style="width: 317px">
                                <label class="layui-form-label">查询日期</label>
                                <div class="layui-input-inline">
                                    <input type="text" class="layui-input starttime" placeholder="年 - 月 - 日" name="findDate">
                                </div>
                            </div>
                            <button class="layui-btn layui-btn-sm layui-btn-submit" lay-submit="" lay-filter="submitform" style="margin-left: 10px">搜索</button>
                            <button type="reset" class="layui-btn layui-btn-sm layui-btn-submit" id="clear">重置</button>
                            <button class="layui-btn layui-btn-sm layui-btn-submit" lay-submit="" lay-filter="exportData" style="margin-left: 10px">导出Excel</button>
                        </form>
                        <table class="layui-table" id="librarysave" lay-filter="librarysavetable"></table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="librarysavetoolbar"></script>
<script type="text/html" id="imgTpl">
    <img src="{{d.productimg}}" alt="产品图片" style="max-width:70px;max-height: 28px;">
</script>
<script type="text/html" id="librarysaveeditor">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="selectdetail">查看明细</a>
</script>
<%@ include file="../tpl/foot.jsp"%>
<script src="statics/modules/xm-select.js"></script>
<script src="statics/js/WarehouseManagement/librarysave.js"></script>